simple question about function call syntax

Nikolay via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 18 09:30:12 PDT 2014


I found this code sample in vibe:

void connect(NetworkAddress addr)
	{
		enforce(.connect(m_ctx.socketfd, addr.sockAddr, 
addr.sockAddrLen) == 0, "Failed to connect UDP 
socket."~to!string(getLastSocketError()));
	}

What does mean ".connect"? Where I can find description of this 
syntax (dot + function name)?



More information about the Digitalmars-d-learn mailing list