Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Socket in a sock
icon3.gif  Re: Socket in a sock [message #17539 is a reply to message #17528] Tue, 19 August 2008 20:22 Go to previous messageGo to previous message
Paco is currently offline  Paco
Messages: 4
Registered: June 2008
Location: Spain
Junior Member
Thank's a lot captainc about your quick answer, I have read every post coming from you in this topic.
I am not sure if I need only one socket or at least 2 are needed as only few caracters have to be sent to the server.
My application is not a server, is a client that needs to connect to the server, wait for a login, then send 5 caracters and from now continuosly wait listening while the server sends packets of caracters, as they arrive the application has to detect the arrival, extract these caracters from the listening socket buffer and update a string that serves to update a DocEdit widget.
All this work has to be made without interrupting the other application works, like logging contacts to a database, moving a rotor antenna via com port, etc. not a continuos work, maybe a TimerCallback is the better option to read the buffer socket every 500 milliseconds Confused
If you can use telnet, create a connection via TCP/IP with a server "dx.ea7urc.org" port 41112, as the server asks for login type "ea7cdu" (my radioamateur call) and then watch the telnet window (and suppose it is a DocEdit widget) for a few minutes, you will see what I mean. The application has to reproduce the telnet behavior.
If you can spend a few minutes you will teach me about to reproduce this behavior and I will thank you very much.
Hope to read you soon... Thank's again... Smile
 
Read Message icon5.gif
Read Message
Read Message icon3.gif
Read Message
Previous Topic: sending post message
Next Topic: Socket documentation
Goto Forum:
  


Current Time: Sun Apr 28 19:25:31 CEST 2024

Total time taken to generate the page: 0.07115 seconds