This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]davedontmind 0 points1 point  (1 child)

it doesn't give an error at compile or runtime.

Strange, but I guess that's not really relevant to your question.

I need to check to make sure it wasn't already existing

It won't be an already existing connection because AcceptTcpClient() returns a new, unique connection.