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 » UDP sockets?
Re: UDP sockets? [message #23770 is a reply to message #23767] Fri, 20 November 2009 13:37 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14265
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Fri, 20 November 2009 04:42

Mindtraveller wrote on Thu, 19 November 2009 19:55

Please show how you create UDP socket in U++.

bonami wrote on Fri, 20 November 2009 04:41

socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);



There is no such socket constructor in U++. We have only
	Socket() {}
	Socket(One<Data> data) : data(data) {}




That is true. But it appears that encapsulating UDP sockets really has little sense. But I might be wrong.

BTW, I have a nice thing called "Urr", which stands for "UDP request-response", which is package that implements UDP based request-response (both Strings) proprietary protocol (adding realiability and allowing messages of any size to pass).

Maybe it could be useful for you? I was considering adding this public sources for a while...

Maybe I will put it into bazaar.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: request: Socket working example
Next Topic: MT.cpp __thread sMain related CRASH in VB6 project
Goto Forum:
  


Current Time: Sat Jul 05 23:06:46 CEST 2025

Total time taken to generate the page: 0.03863 seconds