| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Has simple wy to receive complex data? |
| dengw From: CD, USA Posts: 8 Member Since: 05/21/03 |
posted July 10, 2003 7:23 AM I'm writing a Socket client app,it receive complex data such as unfixed struct from server written by C++. Has a simple way to receive the stuct?not get stuct variables from bytebuffer one by one. Thanks in advance |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 10, 2003 11:20 AM Since TCP is stream oriented you are kind of limited in what you want to do. You'll have to figure out some way to package the structure such that you know where the beginning and end is and can reassemble it on the other side. Sorry, but I don't have an example. |
| cambler From: Redmond, WA USA Posts: 102 Member Since: 04/14/03 |
posted July 13, 2003 11:22 AM Why not serialize it to XML on either side? |
| dengw From: CD, USA Posts: 8 Member Since: 05/21/03 |
posted July 14, 2003 9:14 PM I hope this,but the server is written by other,I can only receive data from Scoket. |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|