window socket without control?
window socket without control?
window socket without control?
window socket without control?
window socket without control?
window socket without control? window socket without control? window socket without control? window socket without control? window socket without control? window socket without control? window socket without control? window socket without control?
window socket without control? window socket without control?
window socket without control?
Go Back  Xtreme Visual Basic Talk > > > window socket without control?


Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2010, 10:57 PM
not2betrusted2 not2betrusted2 is offline
Freshman
 
Join Date: Mar 2009
Posts: 42
Default window socket without control?


is it possible to have a window socket code without the MSWINSCK.ocx, so the program doesn't have to have that add-on? Like in a class or something? If it exists already can someone help me find it?
Reply With Quote
  #2  
Old 07-26-2010, 10:17 PM
DougT's Avatar
DougT DougT is offline
Ultimate Antique

Administrator
* Expert *
 
Join Date: Sep 2005
Location: Maldon,Essex, UK
Posts: 3,939
Default

It is 'possible' using the Windows Socket APIs but not something I would recommend. What's the problem using the Winsock OCX ?
__________________
semel insanivimus omnes
S Data in context = Information, S Information in context = Knowledge, S Knowledge in context = Experience
S Experience in context = Wisdom= Data
Reply With Quote
  #3  
Old 07-28-2010, 03:52 PM
not2betrusted2 not2betrusted2 is offline
Freshman
 
Join Date: Mar 2009
Posts: 42
Default

i rather have less add ons and sometimes for some computers there are random run-time errors that happen for no reason. I just want it to be more professional you know
Reply With Quote
  #4  
Old 07-29-2010, 12:02 AM
DougT's Avatar
DougT DougT is offline
Ultimate Antique

Administrator
* Expert *
 
Join Date: Sep 2005
Location: Maldon,Essex, UK
Posts: 3,939
Default

'Random Run-Time Erors' always happen for a reason ! Normally because the Programmer has not catered for every likely possible condition. In the case of the Winsock OCX it's been around for a very long time and I would guess that 99.9999% of coding errors it may or may not have had have been fixed. There's plenty of scope using Winsock to trap and process errors.

As I implied in my first response, you'll have to do a lot of had work to create anything like the Winock control using the APIs in VB. To start with, VB doesn't support multiple threading so handling a DataReceived interrupt is going to be tricky.

If you really want to do this, I'd suggest you use a .NET language rather than legacy Visual Basic.
__________________
semel insanivimus omnes
S Data in context = Information, S Information in context = Knowledge, S Knowledge in context = Experience
S Experience in context = Wisdom= Data
Reply With Quote
Reply

Tags
winsock


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
window socket without control?
window socket without control?
window socket without control? window socket without control?
window socket without control?
window socket without control?
window socket without control? window socket without control? window socket without control? window socket without control? window socket without control? window socket without control? window socket without control?
window socket without control?
window socket without control?
 
window socket without control?
window socket without control?
 
-->