How to send parameter values to server using Socketchannel?

177 Views Asked by At

I'm using SocketChannel to send a file from the client to the server in my android application.

It's working without any issues. But I need to send a file name as well to the server. Is it possible to set a request parameter to Socketchannel like HttpPost?

I tried searching many forums but no luck. If anyone having in depth knowledge on SocketChannel please share the answer with me.

Thanks in advance.

0

There are 0 best solutions below