LacticWhale / socks_dart

Socks5 server and client with ability to catch packet in both direction, chain proxies and more.
MIT License
14 stars 4 forks source link

need a method to stop socks5 server #11

Closed 86chenjie closed 2 months ago

86chenjie commented 2 months ago

I didn't find a way to stop socks5 server.

LacticWhale commented 2 months ago

I will look at it ASAP.

LacticWhale commented 2 months ago

SocksServer has exposed proxies field which store all proxy servers bound to SocksServer you can close server from it.

I will add methods SocksServer.close(int port) and SocksServer.closeAll() in next release.

LacticWhale commented 2 months ago

Complited in #12