Trup
Trup

Reputation: 1655

Java nullSocket

I see something like this when I try to print the socket object

nullSocket[addr=/127.0.0.1,port=45720,localport=8182]

What does this mean? What is a null socket? Do I have a problem of some sort?

Upvotes: 0

Views: 40

Answers (1)

Jeffrey
Jeffrey

Reputation: 44808

I suspect you are printing a null object before your Socket object.

Upvotes: 3

Related Questions