Ha, I am so stupid! I forgot to call the socket member before
receive!
Thank you for the help. I have also removed the pointers.
I am now getting this:
C:\Users\Michael\Documents\Projects\StompBroker\StompBroker>dmd
main.d
main.d(11): Error: None of the overloads of 'receive' are
callable using a shared object, candidates are:
D:\D\dmd2\windows\bin\..\..\src\phobos\std\socket.d(2897):std.socket.Socket.receive(void[]
buf, SocketFlags flags)
D:\D\dmd2\windows\bin\..\..\src\phobos\std\socket.d(2912):std.socket.Socket.receive(void[]
buf)