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 » Feature request - GetPeerAddr in WebSocket
Feature request - GetPeerAddr in WebSocket [message #49982] Sun, 10 June 2018 21:24 Go to previous message
Zbych is currently offline  Zbych
Messages: 307
Registered: July 2009
Senior Member
Hi,

Can we add GetPeerAddr to WebSocket? Right now there is no function that returns client's address.
It is just single line in Inet.h:
	dword  GetWaitEvents() const  { return WAIT_READ|(!!out_queue.GetCount() * WAIT_WRITE); }
	SOCKET GetSOCKET() const      { return socket ? socket->GetSOCKET() : 0; }
	String GetPeerAddr() const    { return socket ? socket->GetPeerAddr() : ""; } //<---- NEW LINE
 
Read Message
Read Message
Read Message
Previous Topic: SCGI server
Next Topic: Thread::GetId() returning 0
Goto Forum:
  


Current Time: Mon Sep 23 00:34:29 CEST 2019

Total time taken to generate the page: 0.01188 seconds