Search:

Type: Posts; User: owaisidris

Search: Search took 0.44 seconds.

  1. Replies
    4
    Views
    397

    Re: How do I set a static variable??

    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.
  2. Replies
    4
    Views
    397

    Static variable

    Consider my code:
    public static Socket sock=new Socket();
    public static Socket recvsock;
    public static SocketInfo ipinfo;



    public static void setSocket(Socket socket)
    {
  3. Trying to make set and get Fuction for a Socket.... but i get null in get method

    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)
    {
Results 1 to 3 of 3