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 » How to obtain IP/port information out of a socket
Re: How to obtain IP/port information out of a socket [message #13830 is a reply to message #13762] Tue, 29 January 2008 14:22 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Are you sure about FormatIP being wrong ?

String FormatIP(dword _ip)
{
	byte ip[4];
	Poke32be(ip, _ip);
	return Format("%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3]);
}


I guess there is a little room for error there...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MT Documentation
Next Topic: Conditional Variables
Goto Forum:
  


Current Time: Tue Jun 10 22:05:35 CEST 2025

Total time taken to generate the page: 0.50215 seconds