How can i receive packets from the client?
How can i receive packets from the client?
I am trying to get Login Packet and other packets sent from the client using LoginEventHandler extension.
Re: How can i receive packets from the client?
Hi,
sorry your question is not clear.
It sounds like you're developing a server side extension. Check this introduction here:
http://docs2x.smartfoxserver.com/Extens ... uick-start
The example shows you how to handle a custom client request to sum two numbers.
As regards handling a login request, check this article:
https://smartfoxserver.com/blog/how-to- ... tom-login/
But also take a look at this component:
http://docs2x.smartfoxserver.com/Extens ... -assistant
which may simplify your job, if you're working with a database to verify user credentials.
Hope it helps
sorry your question is not clear.
It sounds like you're developing a server side extension. Check this introduction here:
http://docs2x.smartfoxserver.com/Extens ... uick-start
The example shows you how to handle a custom client request to sum two numbers.
As regards handling a login request, check this article:
https://smartfoxserver.com/blog/how-to- ... tom-login/
But also take a look at this component:
http://docs2x.smartfoxserver.com/Extens ... -assistant
which may simplify your job, if you're working with a database to verify user credentials.
Hope it helps
Who is online
Users browsing this forum: Baidu [Spider] and 60 guests