From WikiChip
Difference between revisions of "mirc/commands/sockaccept"
m (Bot: Fixing links) |
(→Parameters) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/sockaccept Command}} | ||
The '''/sockaccept''' command allows mIRC the ability to accept incoming connections on a port that has been opened with the {{mIRC|/socklisten}} commmand. | The '''/sockaccept''' command allows mIRC the ability to accept incoming connections on a port that has been opened with the {{mIRC|/socklisten}} commmand. | ||
== Synopsis == | == Synopsis == | ||
− | <source lang="mIRC">/sockaccept <name></source> | + | <source lang="mIRC">/sockaccept -n <name></source> |
− | == | + | == Switches == |
+ | |||
+ | * '''-n''' - Disable nagle algorithm on the accepted socket, you can disable nagle algorithm for any accepted socket by using {{mIRC|/socklisten}} -n | ||
+ | |||
+ | == Parameters == | ||
'''Name''': The name that should be assigned to the accepted connection in order to reference it later. | '''Name''': The name that should be assigned to the accepted connection in order to reference it later. | ||
Line 17: | Line 22: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.3}} | |
− | |||
− | |||
== See Also == | == See Also == | ||
Line 40: | Line 43: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|sockaccept command - mIRC]] |
Latest revision as of 10:46, 22 September 2022
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /sockaccept command allows mIRC the ability to accept incoming connections on a port that has been opened with the /socklisten commmand.
Synopsis[edit]
/sockaccept -n <name>
Switches[edit]
- -n - Disable nagle algorithm on the accepted socket, you can disable nagle algorithm for any accepted socket by using /socklisten -n
Parameters[edit]
Name: The name that should be assigned to the accepted connection in order to reference it later.
Example[edit]
; Listen for connections on the socket named mySock ON *:SOCKLISTEN:mySock: { ; Accept incoming connection on this socket and name them ; with a combination of the socket's name and the current $ctime sockaccept $+($sockname,$ctime) }
Compatibility[edit]
Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
- List of commands
- List of identifiers
- $sock
- $sockname
- $sockerr
- $sockbr
- /sockclose
- /socklist
- /socklisten
- /sockmark
- /sockopen
- /sockpause
- /sockread
- /sockrename
- /sockudp
- /sockwrite
mIRC commands list