I'm designing a test for a program that does automatic reconnect when a connection goes away. [The program is smbiod(1M)]. I want the connection to go away, ideally in a way that "looks" similar to receiving a FIN from the server. I had a thought to just "ifconfig down" the network I/F, but that seems crude.
Anyone here know of a more elegant way to inject this error into a specific connection from this process? I'm intentionally avoiding the more obvious method of doing something on the serve side to make it drop the connection. Thanks, Gordon -- This message posted from opensolaris.org _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org