Update SocketTemplate.cpp