From: Jim B. <ji...@fl...> - 2003-05-07 11:08:42
|
Can some one provide a breif description of how to use the MockSocket class? I have a server application that spawns off client threads as clients connect. I want to do some functional testing to make sure I am reading/writing over the socket appropriately. However, the MockSocket implements alt.java.net.Socket, so simply creating one and attempting to pass it to the coinstructor of my object does not work. Any ideas on how to do this? Thanks! Birch |