h6. [[Internet]] h6(. » [[Internet SWI Calls|SWI Calls]] h6((. » Socket_Gettsize h2. Socket_Gettsize h5. (SWI &41218) |_<^{width:4em}. Entry | | |<^. - |<^. - | |_<^{width:4em}. Exit | | |<^. R0 |<^. Maximum number of sockets available | h4. Use The purpose of this call is to read how many sockets the system could allocate. h4. Berkeley sockets equivalence This SWI directly corresponds to the function "getstablesize":https://www.ibm.com/docs/en/zvm/7.3?topic=descriptions-getstablesize-get-socket-table-size and would ordinarily be called from C using the <code>getstablesize()</code> function in <code>socklib.h</code>. h4. Notes The value _may_ be less than FD_SETSIZE, that is the number of sockets which can be polled by [[Socket_Select|select()]] which is not the same as the maximum number of sockets that can exist. h4. See also * [[Internet]] * [[Socket_Creat]]