Raised This Month: $51 Target: $400
 12% 

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-21-2015 , 20:09   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #521

Quote:
Originally Posted by Dr. McKay View Post
Server Hop uses this extension with UDP to query status from Source servers. That worked fine for me when I used it.
I'll check that, but using socketsendto seems broken
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-22-2015 , 03:50   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #522

The way serverhop is doing it, is like how most tcp connections use it

I tried this, and i'm creating the socket UDP, binding it to a local port, and then connecting to it.

Then when i send, I was using socketsendto, which wasn't doing anything.
I'll try again later just using socketsend.

But if i have to make a new socket for each UDP packet, it kind of negates the purpose of using UDP, when I can just keep using a TCP connection
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
mikeorman
Junior Member
Join Date: Jul 2015
Old 08-26-2015 , 13:25   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #523

this extension is failing to load for some reason.
[12] <FAILED> file "socket.ext.dll": The specified module could not be found.
mikeorman is offline
chora
SourceMod Donor
Join Date: Dec 2010
Location: Brazil
Old 08-26-2015 , 13:55   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #524

Quote:
Originally Posted by mikeorman View Post
this extension is failing to load for some reason.
[12] <FAILED> file "socket.ext.dll": The specified module could not be found.
Which Sourcemod version are you using?
Did you added this extension while server was running?
__________________

chora is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-30-2015 , 03:13   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #525

Still not working with UDP, if i create a socket, bind, and connect, i can listen on that port for UDP, however, when I use socketsendto, it doesn't appear to work.

If i use an external method to send udp packets, the bound socket never receives any data.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
deadlyruler
Member
Join Date: Dec 2008
Old 09-02-2015 , 17:29   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #526

nvm

Last edited by deadlyruler; 09-04-2015 at 02:57.
deadlyruler is offline
n___
Junior Member
Join Date: Nov 2013
Old 09-06-2015 , 16:55   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #527

Is it possible to get this packaged as a .dylib for OSX? My workstation is a macbook, I installed a server on it for development and I can't use this, don't want to have to push to a remote server for testing. Thanks!
n___ is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 09-10-2015 , 19:51   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #528

Quote:
Originally Posted by n___ View Post
Is it possible to get this packaged as a .dylib for OSX? My workstation is a macbook, I installed a server on it for development and I can't use this, don't want to have to push to a remote server for testing. Thanks!
Virtualization exists for a reason
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
n___
Junior Member
Join Date: Nov 2013
Old 09-10-2015 , 23:14   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #529

Yes, it does, it's what I'm doing now. What I was asking, though, was if someone who is capable can compile this as a dylib, since they also exist for a reason.
n___ is offline
NeXoU
Junior Member
Join Date: Jan 2014
Location: France
Old 10-15-2015 , 14:51   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #530

My problem is solved.
Socket works fine.

Last edited by NeXoU; 10-19-2015 at 19:21.
NeXoU is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode