hi all - i have a java client and a c# server that need to communicate via sockets; the c# program uses TcpListener and Socket:
(C#)
{...
tcplis = new TcpListener( port );
tcplis.start();
while( true )
{
socket = tcplis.AcceptSocket();
if( socket.Connected ==...
I sort of felt this is what it was all about. In fact this is old 16 bit code that used these structs to write stuff to disk. Now my new 32 bit code attempts to read the old data, and every time I did a fread( &struct, sizeof(struct ), .. ) the struct that was read was garbage when the...
Hello - I'm having this problem in VC++.NET:
For the following struct:
typedef struct _Tran
{
short trndelflag;
short trnrectype;
unsigned long trnpatnum;
unsigned long trnseqnum;
unsigned long trnadmit;
unsigned long trndscharge;
unsigned long trnloc1;
unsigned long trnloc2;
char...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.