- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RecvmsgInet4 (0.12 sec)
-
src/syscall/syscall_unix.go
pp := (*RawSockaddrInet6)(unsafe.Pointer(&rsa)) port := (*[2]byte)(unsafe.Pointer(&pp.Port)) from.Port = int(port[0])<<8 + int(port[1]) from.ZoneId = pp.Scope_id from.Addr = pp.Addr return } func recvmsgInet4(fd int, p, oob []byte, flags int, from *SockaddrInet4) (n, oobn int, recvflags int, err error) { var rsa RawSockaddrAny n, oobn, recvflags, err = recvmsgRaw(fd, p, oob, flags, &rsa) if err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 16:19:26 UTC 2024 - 12.2K bytes - Viewed (0) -
src/internal/poll/fd_unix.go
return 0, 0, 0, err } defer fd.readUnlock() if err := fd.pd.prepareRead(fd.isFile); err != nil { return 0, 0, 0, err } for { n, oobn, sysflags, err := unix.RecvmsgInet4(fd.Sysfd, p, oob, flags, sa4) if err != nil { if err == syscall.EINTR { continue } // TODO(dfc) should n and oobn be set to 0 if err == syscall.EAGAIN && fd.pd.pollable() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 04:09:44 UTC 2024 - 17.9K bytes - Viewed (0)