.NET Framework class, providing client connections for TCP network services.
0
votes
1answer
27 views
C# send multiple different objects over 1 socket
I am having an issue which i am not sure how to solve efficiently.
I made a server which can handle multiple clients through TCP sockets.
These clients send data (multiple different objects!) to the ...
0
votes
0answers
12 views
NSOutputStream write with unreachable Destination
In my view it is only possible to check if an TCPConnection is sucessfully established, is to send any string first.
But when I open my TCP Connection with an unreachable host the app simply crashes ...
1
vote
1answer
13 views
.NET NetworkStream.EndWrite() bytes written
The MSDN documentation clearly states that:
After obtaining the NetworkStream, you can call the EndWrite method to
successfully complete the send operation and return the number of
bytes sent.
...
0
votes
0answers
9 views
cocoaAsyncsocket readDataToData weirdness
I ran into this issue : I was using the old CFStream but it was too limited catching errors so I tried the "better one" AsyncSocket and it takes no time to set it up and get it going so very cool ...
0
votes
1answer
57 views
Four way message exchange between TCP server and client in java
I am trying to implement a four way message exchange between a TCP client and server wherein server first sends a message, receives reply from client and then again does the same. This can be extended ...
1
vote
1answer
17 views
Socket Exception: Connection Actively refused
Currently making a vb.net program to communicate a string between two computers. My test bed is a Windows 8 machine connecting to a windows 7 VM. However, despite numerous measures, I still continue ...
3
votes
1answer
90 views
Sending large strings through TCP - Windows Phone
I developed a simple TCP client on Windows Phone, as shown here on MSDN
This is working just as expected.
Now, I want to send very large Base64 strings though this client (for transferring images).
...
2
votes
1answer
44 views
C# TcpClient closes XNA game window after sending data
I want to write multi player game in XNA 4. For sending data I am using TcpClient class connected like this:
try{
client.Connect(serverEndPoint);
}
catch (Exception ex){
Console.WriteLine("not ...
0
votes
1answer
110 views
+100
Transmitting/Sending big packet safely using TcpClient/Socket
I am writing a TCP based client that need to send and receive data. I have used the Asynchronous Programming Model (APM) provided for Socket class by the .NET Framework.
After being connected to the ...
-7
votes
0answers
40 views
Does anyone have working example code of Java Client Socket and Windows Socket Server [closed]
Problem statement is like this i want to setup commuincation between Adroid Phone as Client and Windows XP machine as Server using TCP socket.Android phone uses java socket and windows socket in C++.
...
0
votes
0answers
25 views
Reconnecting a TcpClient after a network issue doesn't always work
I've been fighting with a network issue for a few days now, and it's starting to drive me insane.
I'm working on a client which connects to a server and then waits to receive information. The server ...
1
vote
2answers
47 views
Send image using TCP Socket Client App in Windows Phone
I'm trying to develop a simple TCP Client Application for Windows Phone.
On the server side, I'm using a simple C# Server Application which accepts the connection and then saves the file.
I saw an ...
0
votes
1answer
39 views
Multithreads Callback
so i'm trying to create a system that uses a TcpClient to send and recieve data from a server. I have a thread listening for data coming in.
What I want is to be able to make a method which can:
...
-2
votes
0answers
29 views
Synchronizing Thread and Event in Network Stream
As from MSDN TcpListener and TcpClient by through network communcation ,once communincation started if there no data from client means ,server have to wait for 5 seconds ,if there is nodata till 5 ...
0
votes
0answers
25 views
Store multiple TcpClient Connections - VB.NET
I'm building an application that can communicate and send commands to game servers. In the gaming world we call this “rcon” for remote console, but in reality it's just a telnet session. After ...