Here I am looking out for 2-things!
1) A pointer/ notes on how to send/ receive data (a class object or structure) across the network using TCP/ UDP
between 2-Windows machines.
2) However, the higher priority thing for me, as of now, is sending/ receiving data (a class object or structure) across the network
between a WinXP machine(client-application) and
Linux machine (the server application). Working with ‘unmanaged code/ WinSock APIs’ will be the only solution?
<Note-1> Here, I am NOT looking to transfer the file/s OR FTP or something similar. Its purely objects/ structures.
<Note-2> A cursory look suggested that
NetworkStream and BinaryWriter
can help me achieving data transfer between Windows PCs.
Say, an example structure I need to Send/ Receive across is:
public int MsgId;
public int paramCount;
public int paramArray;
Many thanks in advance.
View Complete Post