OC How to pass {"message":{"function":"user_login","user":{"name":"admin","password":"admin"}}} to pass this login request json through socket TCP to server
It is not recommended to manually operate the socket to complete things like sending login requests. Why not try a mature network framework such as AFNetworking?
I know the answer. I tried it myself and just wrote it
`NSDictionary *dict = @{
Send data via ajax request
It is not recommended to manually operate the socket to complete things like sending login requests. Why not try a mature network framework such as AFNetworking?