I'm working on a client/server project which involves sending SQL commands from server to client and vice versa.

I've been using the LTCP component for both the client and the server, which have been working perfectly during testing on the same machine and between different virtual machines, sending and receiving packets of data several thousand bytes in length.

However, when connecting over ethernet or the internet there appears to be a packet limit of 1036 bytes and any packets of data larger than this are truncated. I assume this is to do with maximum permissible transport units in the routers forming the connections and I was mistaken in believing that the lNet TCP implementation would take care of breaking the data down into transmissible packets and reassembling them at the destination.

Before I set out to implement the procedures to do this myself, can someone reassure me that this needs to be done and that I am not re-inventing the wheel?

Malcolm
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to