Yes i did set it first and i m getting "sock's inet address. In set method... But same variable gives null in get function.
Type: Posts; User: owaisidris
Yes i did set it first and i m getting "sock's inet address. In set method... But same variable gives null in get function.
Consider my code:
public static Socket sock=new Socket();
public static Socket recvsock;
public static SocketInfo ipinfo;
public static void setSocket(Socket socket)
{
Here is Some sample Code!!
public static Socket sock=new Socket();
public static Socket recvsock;
public static SocketInfo ipinfo;
public static void setSocket(Socket socket)
{