leork2004
asked on
MSwinsock Based app in VB
Hi
I have developed an application in VB using Mswinsock .I have a client sending some data on fixed port number to server .
I need to send some data back to the client from the server using the same connection .How do do this ?
Help its Urgent
I have developed an application in VB using Mswinsock .I have a client sending some data on fixed port number to server .
I need to send some data back to the client from the server using the same connection .How do do this ?
Help its Urgent
the 'RemoteHostIp' property give you the IP of cliend who sent data so read it in the 'DataArrival' Event and send back your reply data to this IP
Sounds like you already have the connection established...
Just use the SendData() function.
Winsock1.SendData "someData"
or am I not understanding the question very well?
Perhaps you could explain the problem in a little more detail.
Idle_Mind
Just use the SendData() function.
Winsock1.SendData "someData"
or am I not understanding the question very well?
Perhaps you could explain the problem in a little more detail.
Idle_Mind
There are many tutorials on this site that will help you further.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.