Link to home
Start Free TrialLog in
Avatar of suhaB
suhaB

asked on

bandwidth

hi

i have done a program for voice chat. but when running the program using dialup connection , i am facing the problem. now for this what i want to know is how to know the bandwidth allocated, if it is connected with dial up or taken the connection..

help will be greatly appreciated,

thanks,
suha
ASKER CERTIFIED SOLUTION
Avatar of vijay_visana
vijay_visana

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of suhaB
suhaB

ASKER

hi vijay_visana,

i saw the website . but i didn't understood .

i want to use the code in my program, but to use that we have to pay na..

suhaB
not at all this is free
Avatar of suhaB

ASKER

hi vijay

can u please tell me how to follow the site.

when i downloaded the file and running the exe i am getting one dialog box showing it is valid only for 1 month. and that is also not in vc++.

suha
you can freely use cpp and h file in your code.
the copy right is for exe Rasman

Copyright says

You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise) when your product is released in binary form. You are allowed to modify the source code in any way you want except you cannot modify the copyright details at the top of each module. If you want to distribute source code with your application, then you are only allowed to distribute versions released by the author. This is to maintain a single distribution point for the source code

so you are free to use source code
Avatar of suhaB

ASKER

hi vijay,

i included the rasmonitor.h and rasmonitor.cpp in my program and after that i got errors not found the cpdh.h and dyndata.h, so i included those files also downloading from the authors page.
 
   now again i am getting errors like this.. 123 errors,(my os is windows 2000)


Compiling...
rasman.cpp
To avoid this message please put afxtempl.h in your PCH
To avoid this message please put winsvc.h in your PCH
To avoid this message please put tapi.h in your PCH
To avoid this message, please put pdh.h in your PCH (normally stdafx.h)
d:\indus\rasman\rasmonitor.h(93) : error C2146: syntax error : missing ';' before identifier 'm_hRasConn'
d:\indus\rasman\rasmonitor.h(93) : error C2501: 'HRASCONN' : missing storage-class or type specifiers
d:\indus\rasman\rasmonitor.h(93) : error C2501: 'm_hRasConn' : missing storage-class or type specifiers
d:\indus\rasman\rasmonitor.h(131) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(159) : error C2061: syntax error : identifier 'LPRASCONN'
d:\indus\rasman\rasmonitor.h(160) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(161) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(184) : error C2061: syntax error : identifier 'LPRASCONN'
d:\indus\rasman\rasmonitor.h(185) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(198) : error C2061: syntax error : identifier 'RASCONN'
rasmanDlg.cpp
To avoid this message please put afxtempl.h in your PCH
To avoid this message please put winsvc.h in your PCH
To avoid this message please put tapi.h in your PCH
To avoid this message, please put pdh.h in your PCH (normally stdafx.h)
d:\indus\rasman\rasmonitor.h(93) : error C2146: syntax error : missing ';' before identifier 'm_hRasConn'
d:\indus\rasman\rasmonitor.h(93) : error C2501: 'HRASCONN' : missing storage-class or type specifiers
d:\indus\rasman\rasmonitor.h(93) : error C2501: 'm_hRasConn' : missing storage-class or type specifiers
d:\indus\rasman\rasmonitor.h(131) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(159) : error C2061: syntax error : identifier 'LPRASCONN'
d:\indus\rasman\rasmonitor.h(160) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(161) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(184) : error C2061: syntax error : identifier 'LPRASCONN'
d:\indus\rasman\rasmonitor.h(185) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(198) : error C2061: syntax error : identifier 'RASCONN'
D:\Indus\rasman\rasmanDlg.cpp(64) : error C2512: 'CRasConnection' : no appropriate default constructor available
rasmonitor.cpp
To avoid this message, please put afxpriv.h in your pre compiled header (normally stdafx.h)
To avoid this message please put afxtempl.h in your PCH
To avoid this message please put winsvc.h in your PCH
To avoid this message please put tapi.h in your PCH
To avoid this message, please put pdh.h in your PCH (normally stdafx.h)
d:\indus\rasman\rasmonitor.h(93) : error C2146: syntax error : missing ';' before identifier 'm_hRasConn'
d:\indus\rasman\rasmonitor.h(93) : error C2501: 'HRASCONN' : missing storage-class or type specifiers
d:\indus\rasman\rasmonitor.h(93) : error C2501: 'm_hRasConn' : missing storage-class or type specifiers
d:\indus\rasman\rasmonitor.h(131) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(159) : error C2061: syntax error : identifier 'LPRASCONN'
d:\indus\rasman\rasmonitor.h(160) : error C2061: syntax error : identifier 'HRASCONN'
d:\indus\rasman\rasmonitor.h(161) : error C2061: syntax error : identifier 'HRASCONN'
Avatar of suhaB

ASKER

hi vijay,,

sorry to say this,

the site which  u suggested , it is not giving the information about the bandwidth

i,e at a particular time bandwidth allocated ex 4kpbs like that..

suha