Struggling with shared objects

Mike via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 17 13:56:56 PST 2015


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)


More information about the Digitalmars-d-learn mailing list