public SocksRequest(StreamTypes type, AddressType addrtype, string address, int port) { Type = addrtype; StreamType = type; Address = address; Port = port; Error = SocksError.Granted; IPAddress p = this.IP; //get Error on the stack. }