15,885,546 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Деян Цонев (Top 8 by date)
Деян Цонев
3-Dec-22 2:16am
View
code part ******************************
else
{
system_config.outboundHost = pSockOutboundConfigElement->Attribute(SOCKET_CONFIG_XML_OUTBOUND_HOST_ATTR); // on the line //of assignment I set the watchpoint, and the next line is the line where stops, and after c //command program don't stop any more, but the value get's changed somewhere
if ( system_config.outboundHost == nullptr )
throw MISSING_ATTRIBUTE SOCKET_CONFIG_XML_OUTBOUND_HOST_ATTR;
code part*****************************
Деян Цонев
2-Dec-22 14:15pm
View
Ok, sorry. I will use button for now on .
Деян Цонев
2-Dec-22 13:10pm
View
Deleted
code part ******************************
else
{
system_config.outboundHost = pSockOutboundConfigElement->Attribute(SOCKET_CONFIG_XML_OUTBOUND_HOST_ATTR); // on the line //of assignment I set the watchpoint, and the next line is the line where stops, and after c //command program don't stop any more, but the value get's changed somewhere
if ( system_config.outboundHost == nullptr )
throw MISSING_ATTRIBUTE SOCKET_CONFIG_XML_OUTBOUND_HOST_ATTR;
code part*****************************
Деян Цонев
2-Dec-22 12:53pm
View
I set it after running the gdb command. Where should it be set? I thought the watch command can be use this way, but even if I set it right before the assignment of the variable which I watch , again the result is only one stop on line, when the first assignment is set by me and the second where I am debbuging is not shown.
Деян Цонев
8-Nov-22 10:20am
View
Netcat is the client in my case, not the server. Thanks.
Деян Цонев
8-Nov-22 9:46am
View
With command nc localhost portnumb
Деян Цонев
27-Oct-22 0:55am
View
Did you mean that i should bind every time the connection is lost, because in my implementation the server bind the socket only once. Is this the mistake?
Деян Цонев
27-Oct-22 0:46am
View
I just tried what you suggested. I tried setting the socket before bind the socket, after listen and after accept but the result when stop the server is : Connection reset by peer.
Show More