try declaring NetworkStream with class level scope the same as ClientSocket and use the same stream in both subs.
tinstaafl
Nearly a Posting Virtuoso
1,336 posts since Jun 2010
Reputation Points: 360
Solved Threads: 235
Skill Endorsements: 14
Question Answered as of 4 Months Ago by
tinstaafl