mega refactor internet.TCPConn->tcp.Conn

This commit is contained in:
soypat
2025-06-07 20:43:20 -03:00
parent dab7951cbd
commit 9a60642283
9 changed files with 318 additions and 150 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ func (sb *StackIP) Register(h StackNode) error {
return nil
}
func (sb *StackIP) RegisterTCPConn(conn *TCPConn) error {
func (sb *StackIP) RegisterTCPConn(conn *tcp.Conn) error {
if conn.LocalPort() == 0 {
return errZeroPort
}