Click here to Skip to main content
14,332,477 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have written the programmm, but my code is not functioning.If anyone could provide a working example, it would be very kind.


What I have tried:

I have tried doing with Socket class but ist not functioning and it doesnt shows me any error. So i find it dfficult to understand weher the mistake is
Updated 11-Jul-19 21:08pm

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Google for "C++ sockets" and you will find many samples.
Member 14499788 12-Jul-19 3:57am
Hi, I tried doing with many examples, but my packet is not send!
Richard MacCutchan 12-Jul-19 4:36am
Then there must be something wrong with your code.
Member 14499788 12-Jul-19 5:13am
Actually my project is dealing with UDP and TCP Sockets.
Via UDP communication UDP packet is received , and then some editing is done and this packet is send via TCP.
But the TCP packets are not send!
this all process is done using multithread processing
Richard MacCutchan 12-Jul-19 5:17am
Please think about what you are posting here. We have no idea what your code is doing, or what results you see or do not see, so we cannot begin to guess what your problem may be. If you want us to help you then you need to edit your question and provide some proper details, including the code where the problem occurs.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100