View Single Post
PartialCloning
Senior Member
Join Date: Dec 2015
Old 05-17-2017 , 19:20   Re: Module: Threaded Sockets
Reply With Quote #62

Quote:
Originally Posted by Shooting King View Post
In pawn it's not \r\n but it's ^r^n. Try it and let me know
.
Still nothing.

The server prints "Accepted Connection from ..", "Data has been sent to client. Closing Client Socket ..."

Chrome prints

"This site can’t be reached
The connection was reset."

Edited:
Removing "socket_close_t(g_ClientSThread, "CBClientCloseSocket" );" works, but it seems it's the way http works and you have to wait until all the data is pushed before closing the socket. Is there a way to check when the data is pushed?

It's safe to guess http support wasn't intended in this module. Do you recommend any other module/method to display server information to web browsers using the server's own ip address?

Last edited by PartialCloning; 05-18-2017 at 23:47.
PartialCloning is offline