i want to read from input stream when i connect to a server socket. but there may exist some delays between messages how can i 开发者_StackOverflow中文版read from input stream without busy loop ?
I\'m trying to get my java client to communicate with a C server using SSL. The problem is - I don\'t have any server sources and I\'m getting a handshake failure error:
My recv function hangs while getting reponse from server. Client side code in c/c++: void sockStuff() {
I\'ve starting using socketpairs on linux and windows in order to capture the output of subprocesses on both platforms.I do this by copying STD* onto one of the sockets in the socketpair (I\'m using W
Suppose that you have 2 soc开发者_JS百科kets(each will be listened by other TCP peers) each resides on the same process, how these sockets could be bound, meaning input stream of each other will be bo
I have a client/server program (Windows, winsock2) which communicates over TCP. The client connects and sends data to server (using send) in 8K at a time.
i have done a bit of reading in client/server programming in c#. i am familiar enough with this process to ask the following question:
How do I determine the remote IP Address of a connected socket? I have a RemoteEndPoint object I can access and well as its AddressFamily member.
I\'m writing some python and are stuck at the moment. I think this \"Nagle algoritm\" is the problem since my packages are delayed some time for some reason to the client.
I need some code to get the address of the socket i just created (to filter out packets originating from localhost on a multicast network)