add local/remote ip to socket
This commit is contained in:
@@ -11,6 +11,8 @@ type Message struct {
|
||||
}
|
||||
|
||||
type Socket interface {
|
||||
Local() string
|
||||
Remote() string
|
||||
Recv(*Message) error
|
||||
Send(*Message) error
|
||||
Close() error
|
||||
|
||||
Reference in New Issue
Block a user