enum SF::Socket::Type

Overview

Types of protocols that the socket can use

Defined in:

network/obj.cr

Enum Members

Tcp = 0

TCP protocol

Udp = 1

UDP protocol

Instance Method Summary

Instance Method Detail

def tcp? #

[View source]
def udp? #

[View source]