sockets
"BindException: Address already in use" after restart of app
I got a BindException when i restart my application. It acts as a server waiting for remote control messages. The ServerSocket is running in a background thread (AsyncTask). After restart of my applic[详细]
2023-04-10 20:23 分类:问答Performance Implication of Creating New TCP Connection Per Message
In the past, our server application was designed so that a client creates one TCP connection, keeps this connection established indefinitely and sends messages when needed.These messages may come in h[详细]
2023-04-10 19:44 分类:问答What conditions cause NetworkStream.Write to block?
Will NetworkStream.Write block only until it places the data to be sent into the TCP send buffer, or will it block until the data is actually A开发者_运维技巧CK\'d by the receiving host?[详细]
2023-04-10 18:44 分类:问答java.io.EOFException when trying to perform java socket operations
I\'m getting the following exception for the code included below that. This works fine when the while() loop is excluded. Why is this?[详细]
2023-04-10 18:33 分类:问答Broadcasting ip:port by socket server
I\'m trying to find a way for client to know socket server ip:port, without explicitly defining it. Generally I have a socket server running on portable device that\'s connect to network over DHCP (vi[详细]
2023-04-10 16:54 分类:问答In Windows, how do I find out which process is on the other end of a local network socket?
That is to say, if I have a server listening on 127.0.0.1, and a TCP connection comes in, how can I determine the process id of the client?[详细]
2023-04-10 16:47 分类:问答DatagramPacket not transmitting the right message
I\'m implementing a client/server application using UDP transmissions. Here is my part of my co开发者_开发技巧de :[详细]
2023-04-10 16:32 分类:问答Perl forked socket server, stops accepting connections when a client disconnects
When using th开发者_运维技巧e following, but also when using similar code with IO::Socket::INET, I have problems with accepting new connections, once a client has disconnected.[详细]
2023-04-10 16:20 分类:问答C# sockets cannot sent data
Hello guys this method sending file on client machine private void StartServer() { TcpListener lsn = new TcpListener(IPAddress.Any, 27015);[详细]
2023-04-10 16:07 分类:问答Cannot assign requested address - possible causes?
I have a program tha开发者_JAVA百科t consists of a master server and distributed slave servers. The slave servers send status updates to the server, and if the server hasn\'t heard from a specific sla[详细]
2023-04-10 15:48 分类:问答