I am running a vb.net program (AS CLIENT) that needs to send a lot of sequential strings to a server
My program seems to send these request's reasonabally quickly
BUT
The server seems to take quite a while to actually receive the strings (They say they have a large number of channels open!!??)
Here is my code
'Post fields and files to an http host as multipart/form-data.
Dim byteArray As Byte() = Encoding.UTF8.GetBytes(fields)
Dim request As WebRequest = WebRequest.Create(host)
request.Credentials = New System.Net.NetworkCredential(username, password) 'CredentialCache.DefaultCredentials
request.Proxy = Nothing
request.Method = "POST"
Appreciate any ideas, to improve the call
Regards Trob
My program seems to send these request's reasonabally quickly
BUT
The server seems to take quite a while to actually receive the strings (They say they have a large number of channels open!!??)
Here is my code
'Post fields and files to an http host as multipart/form-data.
Dim byteArray As Byte() = Encoding.UTF8.GetBytes(fields)
Dim request As WebRequest = WebRequest.Create(host)
request.Credentials = New System.Net.NetworkCredential(username, password) 'CredentialCache.DefaultCredentials
request.Proxy = Nothing
request.Method = "POST"
Appreciate any ideas, to improve the call
Regards Trob