lib/steam/sockets/SteamSocket.php
/**
     * Sends the given packet to the server
     *
     * This converts the packet into a byte stream first before writing it to
     * the socket.
     *
     * @param SteamPacket $dataPacket The packet to send to the server
     * @see SteamPacket::__toString()
     */
Sends the given packet to the server
This converts the packet into a byte stream first before writing it to
the socket.

@param SteamPacket $dataPacket The packet to send to the server
@see SteamPacket::__toString()
Sends the given packet to the server This converts the packet into a byte stream first before writing it to the socket . @param SteamPacket $dataPacket The packet to send to the server @see SteamPacket :: __toString ()
public function send(SteamPacket $dataPacket) {
        trigger_error("Sending packet of type \"" . get_class($dataPacket) . "\"...");
        $this->socket->send($dataPacket->__toString());
    }
public function send ( SteamPacket $ dataPacket ) { trigger_error ( " Sending packet of type  \" " . get_class ( $ dataPacket ) . " \" ... " ) ; $ this -> socket -> send ( $ dataPacket -> __toString ( ) ) ; }
Sends the given packet to the server
 This converts the packet into a byte stream first before writing it to
 the socket.
Sends the given packet to the server This converts the packet into a byte stream first before writing it to the socket .