Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Autechre

    sockets question

    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 ==...
  2. Autechre

    sizeof ( struct ) != sum( sizeof ( struct.member )) ???

    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...
  3. Autechre

    sizeof ( struct ) != sum( sizeof ( struct.member )) ???

    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...

Part and Inventory Search

Back
Top