Struct steamworks::Networking[][src]

pub struct Networking<Manager> { /* fields omitted */ }
Expand description

Access to the steam networking interface

Implementations

Accepts incoming packets from the given user

Should only be called in response to a P2PSessionRequest.

Closes the p2p connection between the given user

Sends a packet to the start user starting the connection if it isn’t started already

Returns whether there is a packet queued that can be read.

Returns the size of the queued packet if any.

Attempts to read a queued packet into the buffer if there are any.

Returns the steam id of the sender and the size of the packet.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.